package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.system.domain.vo.SysDictDataVO;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class CourseTypeVO {

    /** 字典标签 */
    private String label;

    /** 字典键值 */
    private String value;

    private List<HomeCourseVO> list;

    public CourseTypeVO(SysDictDataVO sysDictDataVO) {
        BeanUtils.copyProperties(sysDictDataVO,this);
    }

    public CourseTypeVO(String label, String value , List<HomeCourseVO> list) {
        this.label = label;
        this.value = value;
        this.list = list;
    }
}
